package com.tbit.uqbike.client.pojo;

import java.util.Date;

/**
 * 停车点
 *
 * @author Leon
 * 2017年4月26日 下午4:19:42
 */
public class ParkPoint {
    /**
     * 停车点id
     */
    private Integer parkPointId;
    /**
     * 平台账户id
     */
    private Integer accountId;
    /**
     * 哈希字符串
     */
    private String geoHash;
    /**
     * 停车点名称
     */
    private String name;
    /**
     * 经度
     */
    private Double lo;
    /**
     * 纬度
     */
    private Double la;
    /**
     * 校准后经度
     */
    private Double loC;
    /**
     * 校准后纬度
     */
    private Double laC;
    /**
     * 误差范围
     */
    private Integer allowRange;
    /**
     * 高精度误差范围(单位厘米)
     */
    private Integer highPrecisionAllowRange;
    /**
     * 经纬度集合
     */
    private String points;
    /**
     * 校准后经纬度集合
     */
    private String pointsC;
    /**
     * 停车点类型
     */
    private Integer parkPointType;
    /**
     * 备注
     */
    private String remark;
    /**
     * 可借数量
     */
    private Integer canBorrowNum = 0;
    /**
     * 距离
     */
    private Double distance;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 站点容量
     */
    private Integer capacity;

    private Integer regionId;
    /**
     * 站点开关
     */
    private Integer enable;
    /**
     * 站点类型 0 普通站点 1 高精度站点
     */
    private Integer siteType;

    /**
     * 是否达到站点最大容量
     */
    private Integer overflow;

    public Integer getHighPrecisionAllowRange() {
        return highPrecisionAllowRange;
    }

    public void setHighPrecisionAllowRange(Integer highPrecisionAllowRange) {
        this.highPrecisionAllowRange = highPrecisionAllowRange;
    }

    public Integer getParkPointId() {
        return parkPointId;
    }

    public void setParkPointId(Integer parkPointId) {
        this.parkPointId = parkPointId;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public String getGeoHash() {
        return geoHash;
    }

    public void setGeoHash(String geoHash) {
        this.geoHash = geoHash;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getLo() {
        return lo;
    }

    public void setLo(Double lo) {
        this.lo = lo;
    }

    public Double getLa() {
        return la;
    }

    public void setLa(Double la) {
        this.la = la;
    }

    public Double getLoC() {
        return loC;
    }

    public void setLoC(Double loC) {
        this.loC = loC;
    }

    public Double getLaC() {
        return laC;
    }

    public void setLaC(Double laC) {
        this.laC = laC;
    }

    public Integer getAllowRange() {
        return allowRange;
    }

    public void setAllowRange(Integer allowRange) {
        this.allowRange = allowRange;
    }

    public String getPoints() {
        return points;
    }

    public void setPoints(String points) {
        this.points = points;
    }

    public String getPointsC() {
        return pointsC;
    }

    public void setPointsC(String pointsC) {
        this.pointsC = pointsC;
    }

    public Integer getParkPointType() {
        return parkPointType;
    }

    public void setParkPointType(Integer parkPointType) {
        this.parkPointType = parkPointType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getCanBorrowNum() {
        return canBorrowNum;
    }

    public void setCanBorrowNum(Integer canBorrowNum) {
        this.canBorrowNum = canBorrowNum;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Integer getOverflow() {
        return overflow;
    }

    public void setOverflow(Integer overflow) {
        this.overflow = overflow;
    }

    public Integer getSiteType() {
        return siteType;
    }

    public void setSiteType(Integer siteType) {
        this.siteType = siteType;
    }

    @Override
    public String toString() {
        return "ParkPoint{" +
                "parkPointId=" + parkPointId +
                ", accountId=" + accountId +
                ", geoHash='" + geoHash + '\'' +
                ", name='" + name + '\'' +
                ", lo=" + lo +
                ", la=" + la +
                ", loC=" + loC +
                ", laC=" + laC +
                ", allowRange=" + allowRange +
                ", points='" + points + '\'' +
                ", pointsC='" + pointsC + '\'' +
                ", parkPointType=" + parkPointType +
                ", remark='" + remark + '\'' +
                ", canBorrowNum=" + canBorrowNum +
                ", distance=" + distance +
                ", updateTime=" + updateTime +
                ", capacity=" + capacity +
                ", regionId=" + regionId +
                ", enable=" + enable +
                ", siteType=" + siteType +
                ", overflow=" + overflow +
                '}';
    }
}
